Skip to content

Remove Vagrant-based Oracle XE setup#279

Merged
yahonda merged 1 commit intorsim:masterfrom
yahonda:remove-vagrant-setup
May 5, 2026
Merged

Remove Vagrant-based Oracle XE setup#279
yahonda merged 1 commit intorsim:masterfrom
yahonda:remove-vagrant-setup

Conversation

@yahonda
Copy link
Copy Markdown
Collaborator

@yahonda yahonda commented May 5, 2026

Summary

  • Removes Vagrantfile and the Vagrant-only support scripts (spec/support/file_check_script.sh, spec/support/test_db.rb).
  • Drops the USE_VM_DATABASE branches from spec/spec_helper.rb, the .vagrant entry from .gitignore, and the Vagrant sections from README.md.
  • The Vagrant workflow is superseded by the .devcontainer/ setup proposed in Add devcontainer environment and CI #276, which boots gvenzl/oracle-free and provisions the hr / arunit accounts via the existing ci/setup_accounts.sh.
  • The Vagrant configuration also targets a CentOS 7.2 box and the Oracle XE 11.2.0 RPM, which is no longer readily distributable.
  • History.txt entries that mention the Vagrant box are left as historical changelog records.

Test plan

  • CI (.github/workflows/test.yml) is green — it does not exercise USE_VM_DATABASE and connects via the regular DATABASE_* env vars, so spec collection and execution should be unaffected.
  • bundle exec rake -T still lists spec cleanly with no LoadError from removed support files.
  • grep -r "USE_VM_DATABASE\|TestDb\|file_check_script\|vagrant" -- ':!History.txt' returns no matches.

🤖 Generated with Claude Code

The Vagrant workflow is superseded by the .devcontainer/ setup added
in rsim#276, which boots gvenzl/oracle-free in a container and provisions
the same hr and arunit accounts the spec suite expects via the
existing ci/setup_accounts.sh. Maintaining both paths is unnecessary;
the Vagrant configuration also targets a CentOS 7.2 box and the
Oracle XE 11.2.0 RPM, which is no longer readily distributable.

Removed:

- Vagrantfile
- spec/support/file_check_script.sh — only invoked by the Vagrantfile
  to verify the Oracle XE installer was placed in the project root
- spec/support/test_db.rb — only invoked under USE_VM_DATABASE=Y and
  hardcoded to the XE service, system/oracle credentials, and the
  /u01/app/oracle/oradata/XE paths inside the Vagrant box
- USE_VM_DATABASE branches in spec/spec_helper.rb
- .vagrant entry from .gitignore
- Vagrant sections from README.md TESTS instructions

History.txt entries that mention the Vagrant box are left as
historical changelog records.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@yahonda yahonda merged commit e5d3970 into rsim:master May 5, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant